package model.item;

import model.core.Renderable;
import model.entity.Entity;

// MAKE ITEMS RENDERABLE! Imporant

public abstract class InventoryItem implements Renderable, Cloneable{

	private Integer value;
	private String name;
	
	public InventoryItem(Integer value, String name)
	{
		this.value=value;
		this.name=name;
	}
	
	public Integer getValue(){
		return this.value;
	}
	
	public String getName(){
		return this.name;
	}
	
	public void setValue(Integer value){
		this.value=value;
	}
	
	public void setName(String name){
		this.name=name;
	}
	
	abstract public void use(Entity entity);

	public String getGraphicID() {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public InventoryItem clone() throws CloneNotSupportedException {
		return (InventoryItem)super.clone();
	}
}
